package demo;

import java.io.FileOutputStream;
import java.nio.charset.StandardCharsets;

public class HelloWorld {
    public static void main(String[] args) throws Exception{
        FileOutputStream fos = new FileOutputStream("helloworld.txt");
        fos.write("helloworld".getBytes(StandardCharsets.UTF_8));
        fos.write("hellojava".getBytes(StandardCharsets.UTF_8));
        fos.write("branch2!!!".getBytes(StandardCharsets.UTF_8)); //在branch1中添加了一组代码
        System.out.println("写出完毕");
        System.out.println("master上修改的内容!");
        System.out.println("newbranch中添加的代码!");
        System.out.println("别动我代码!!!!!");
        fos.close();

    }
}
